
OBJS=main.c camera.c convert.c srv.c tcp.c
CC=arm-none-linux-gnueabi-gcc
TARGET=camera

$(TARGET):$(OBJS)
	$(CC) $^ -o $@ -lpthread -ljpeg -L/root/jpeg_arm/lib

clean:
	rm -rf $(TARGET)
	rm *~
